package com.my.domain.entity;

import java.util.Date;

import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 公告表(Announcement)表实体类
 *
 * @author makejava
 * @since 2022-04-14 18:13:58
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("announcement")
public class Announcement implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键@TableId
    private Long id;

    //公告内容
    private String announcementContent;
    //发布公告时间
    private Date announcementTime;
    //属于谁的id
    private Long userId;
    //公告状态0未读，1已读，2回收站
    private Integer announcementState;

    //公告id
    private Long accountId;


}

